-
Home
-
NitroPack – Caching & Speed Optimization for Core Web Vitals, Defer CSS & JS, Lazy load Images and CDN
-
1.16.3
-
Code
-
Classes
- NitroPack
Total Complexity |
129 |
Dependencies |
20 |
Dependents |
19 |
Total lines |
489 |
Lines of code |
373 |
Logical lines of code |
224 |
Comment lines |
20 |
Methods |
25 |
Properties |
14 |
Methods 25
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getSdk() |
B |
41 |
18 |
52 |
updateCurrentBlogConfig() |
A |
38 |
14 |
68 |
getDataDir() |
A |
42 |
15 |
48 |
getCurrentUrl() |
A |
48 |
16 |
29 |
getPluginDataDir() |
A |
45 |
14 |
42 |
getSiteConfig() |
A |
49 |
12 |
32 |
getDistribution() |
A |
52 |
10 |
25 |
getAdditionalDomains() |
S |
63 |
3 |
10 |
getInstance() |
S |
71 |
2 |
6 |
getSiteId() |
S |
75 |
2 |
4 |
getSiteSecret() |
S |
75 |
2 |
4 |
isConnected() |
S |
78 |
2 |
3 |
isWpCli() |
S |
79 |
2 |
3 |
unsetCurrentBlogConfig() |
S |
65 |
2 |
9 |
dataDirExists() |
S |
79 |
2 |
3 |
initDataDir() |
S |
77 |
2 |
3 |
pluginDataDirExists() |
S |
79 |
2 |
3 |
initPluginDataDir() |
S |
77 |
2 |
3 |
setPageType() |
S |
81 |
1 |
3 |
getPageType() |
S |
82 |
1 |
3 |
__construct() |
S |
69 |
1 |
7 |
getDisabledReason() |
S |
82 |
1 |
3 |
setDisabledReason() |
S |
76 |
1 |
4 |
getConfigKey() |
S |
78 |
1 |
3 |
resetSdkInstances() |
S |
81 |
1 |
3 |